package com.example.yuncang.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.yuncang.entity.EnterPrise;
import com.example.yuncang.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Component;

@MapperScan
@Component
@Mapper
public interface EnterPriseMapper extends BaseMapper<EnterPrise> {
    IPage pageCC(Page<EnterPrise> page, @Param(Constants.WRAPPER) Wrapper wrapper);
}
